<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/3/20
 * Time: 18:13
 */
namespace app\admin\model;

class ApiGroup extends BaseModel
{
    // status属性读取器
    protected function getStatusAttr($value)
    {
        $status = [ 0 => '禁用', 1 => '启用'];
        return $status[$value];
    }

}